-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CREATE] server package for HTTP server (#33) #33
Conversation
Thanks a lot! Much appreciated, will check it out asap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than troubles created from my gitignore that is not complete (my bad), this looks great to me, thanks a lot
.idea/.gitignore
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may want to remove the .idea folder, the gitignore is not complete since I develop on linux I didn't bother to add that :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will put .idea folder in .gitignore for future
build/bruter
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also the build folder to be wiped, that comes from running the make commands
okey, i will fix that quickly |
Just tested it and I will have to look better into since something seems broken...
|
wait, i will try one more time to duplicate this scenario |
can you check new update? i fix this error |
Perhaps is due from moving some files from main since before stuff was in main go run cmd/bruter/main.go -domain example.com? |
Check latest update, i create struct which is for |
Sure will do it asap at minute I am not on the computer, will be back later on! Cheers |
Also i think that |
True the main is absolutely to big |
Yep it works, I like it! many thanks for contributing @Nicolas-ggd |
closing #32 |
Create
server
folder and move HTTP server under this directory.The purpose of this PR is to separate the HTTP server from
main.go
, i createserver/
folder under thepkg/
directory, move Middleware and Routes underserver/
direcotry.Some operation move to
pkg/server/config.go
, i believe it's a server functionally and nothing have common withmain.go